package nl.foldervisualizer.service
{
	import flash.filesystem.File;
	
	public class FileServiceImpl implements FileService
	{
		public function FileServiceImpl()
		{
		}

		public function deleteFile(file:File):void {
			if (file.isDirectory) {
				file.deleteDirectory(true)
			} else {
				file.deleteFile()
			}
		}
	}
}